class_name SandMoveState extends State

func _init(): state_name = "sand_move"

func process(_delta: float):
	if character is Player:
		var dir = Input.get_vector \
		(
	 	character.playerId + "_move_left", 
		character.playerId + "_move_right",
		character.playerId + "_move_up",
		character.playerId + "_move_down",
		)
		character.velocity = dir * character.move_speed
		character.move_and_slide()
		
	elif character is Monster:
		pass # TO DO...
